const adminService = require('../service/adminService')

//匿名类
module.exports = class {

    //列表
    async index(req,res){
        res.send('列表')
    }
    async send(req,res){
        let data = await adminService.showUserInfo(req.session.uid)
        res.render('message/send.html',{ data })

    }

    async createmsg(req,res) {
        let msg = req.body.msg || ''

        res.send(msg)
    }
}